package com.luck.emp.entity;

import com.luck.pf.util.FormateUtil;

/**
 * 说明:ENEITY类
 * Copyright: Copyright (c) 2011
 * 深圳**科技
 * @author 
 * 
 */
public class EmpTProdSale implements java.io.Serializable {
		/**
		 * pk
		 * 商品编码
		 **/
		String productCode;
		/**
		 * 销售最低价格
		 **/
		Double lowPrice;
		/**
		 * 销售价格
		 **/
		Double price;
		/**
		 * 成本价
		 **/
		Double stdPrice;
		/**
		 * 采购价
		 **/
		Double purPrice;
		/**
		 * 代销利润
		 **/
		Double profit;
		/**
		 * 是否允许预订
		 **/
		String isBook;
		/**
		 * 结算价
		 **/
		Double stockPrice;
	
	public EmpTProdSale(){
	}
	
		public String getProductCode(){
			return this.productCode;
		}		
		public void setProductCode(String productCode){
			this.productCode = productCode;
		}
		public Double getLowPrice(){
			return this.lowPrice;
		}		
		public void setLowPrice(Double lowPrice){
			this.lowPrice = lowPrice;
		}
		public Double getPrice(){
			return this.price;
		}		
		public void setPrice(Double price){
			this.price = price;
		}
		public Double getStdPrice(){
			return this.stdPrice;
		}		
		public void setStdPrice(Double stdPrice){
			this.stdPrice = stdPrice;
		}
		public Double getPurPrice(){
			return this.purPrice;
		}		
		public void setPurPrice(Double purPrice){
			this.purPrice = purPrice;
		}
		public Double getProfit(){
			return this.profit;
		}		
		public void setProfit(Double profit){
			this.profit = profit;
		}
		public String getIsBook(){
			return this.isBook;
		}		
		public void setIsBook(String isBook){
			this.isBook = isBook;
		}
		public Double getStockPrice(){
			return this.stockPrice;
		}		
		public void setStockPrice(Double stockPrice){
			this.stockPrice = stockPrice;
		}
	
		public String getLowPriceStr(){
			return FormateUtil.getInstance().formateDouble(this.lowPrice);
		}
		public String getPriceStr(){
			return FormateUtil.getInstance().formateDouble(this.price);
		}
		public String getStdPriceStr(){
			return FormateUtil.getInstance().formateDouble(this.stdPrice);
		}
		public String getPurPriceStr(){
			return FormateUtil.getInstance().formateDouble(this.purPrice);
		}
		public String getProfitStr(){
			return FormateUtil.getInstance().formateDouble(this.profit);
		}
		public String getStockPriceStr(){
			return FormateUtil.getInstance().formateDouble(this.stockPrice);
		}
	
}